#ifndef BAKANDRECVBAK_H_
#define BAKANDRECVBAK_H_

/*头文件*/
#include "../../Global_Define.h"
#include "../../Global_Func/LAN/LAN.h"
#include "../../Global_Func/POSIX_Time/POSIX_Time.h"
#include "../../Global_Func/Sem/Sem_Deal.h"
#include "../../Global_Func/MEM_Operation/MEM_Operation.h"
#include "../../SAMA/SAMA_Function.h"


/*函数*/
bool BakData_ANA(void* Data, int len, short Head, short Tail);										//< 从站解析备份文件
void *tRecvBak(void* arg);																			//< 从站接收备份线程
int BakData_PACK_Make(void* Data, short Head, short Tail, int Limit_Len, short* SaveModel_Num, int* Model_Total_Count);		//< 备份文件打包程序
void *tBakAndRecvBak(void* arg);																	//< 主从备份线程


#endif
